﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace MapTool
{
    [Serializable]
    public class SeColor
    {
        public byte R;
        public byte G;
        public byte B;
        public byte A;

        public SeColor()
        { R = 0; G = 0; B = 0; A = 255; }

        public Color S2Color()
        {
            return new Color { A = A, R = R, G = G, B = B };
        }

        public void C2S(Color color)
        {
            R = color.R;
            G = color.G;
            B = color.B;
            A = color.A;
        }

       
    }
}
